from django.urls import path, include
from rest_framework.routers import DefaultRouter

from trade import views

router = DefaultRouter()
router.register('trade', views.UsersOrdersFindView)
router.register('rob', views.RobRiderOrdersView)
router.register('release', views.OrdersView)
router.register('confirm', views.RiderOrdersView)
router.register('express', views.ExpressInfoView)

urlpatterns = [

    path('api/', include(router.urls)),
]